export const  sessionS = ( key, value ) => {
	sessionStorage.setItem(key,JSON.stringify(value))
}

export const  sessionG = ( key ) => {
	let res = sessionStorage.getItem(key)
	if ( res ){
		return JSON.parse(res)
	}else{
		return null
	}
}

export const  clear = () => {
	sessionStorage.clear()
}
